<?php

namespace app\common\model;

use think\facade\Cache;
use think\Model;

class ConfigChatPloyModel extends Model
{
    protected static function init()
    {
        ConfigChatPloyModel::afterUpdate(function ($user) {
            Cache::store('redis')->rm('go_webapi_ConfigPub');
        });
    }
}